package cn.com.petrochina.lpm3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName PC_PRO_WELL_ALLOC_DAILY
 */
@TableName(value = "PC_PRO_WELL_ALLOC_DAILY")
@Data
public class ProWellAllocDaily implements Serializable {
    /**
     * 唯一的井标识符，独立且唯一
     */
    @MppMultiId
    @TableField(value = "WELL_ID")
    private String wellId;

    /**
     * 填写格式：YYYYMMDD。
     */
    @MppMultiId
    @TableField(value = "PROD_DATE")
    private Date prodDate;

    /**
     *
     */
    @TableField(value = "ALLOC_OIL_DAILY")
    private BigDecimal allocOilDaily;

    /**
     *
     */
    @TableField(value = "ALLOC_WATER_DAILY")
    private BigDecimal allocWaterDaily;

    /**
     *
     */
    @TableField(value = "ALLOC_GAS_DAILY")
    private Integer allocGasDaily;

    /**
     *
     */
    @TableField(value = "ALLOC_WATER_CUT_RATIO")
    private BigDecimal allocWaterCutRatio;

    /**
     *
     */
    @TableField(value = "ALLOC_GAS_OIL_RATIO")
    private Integer allocGasOilRatio;

    /**
     * 创建日期
     */
    @TableField(value = "CREATE_DATE")
    private Date createDate;

    /**
     * 创建用户ID
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 最后更新的日期
     */
    @TableField(value = "UPDATE_DATE")
    private Date updateDate;

    /**
     * 最后更新的用户ID
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}